//
//  ZXTableViewCell.swift
//  DriverSchoolAPP
//
//  Created by Logel on 2017/6/2.
//  Copyright © 2017年 Logel. All rights reserved.
//

import UIKit

class ZXTableViewCell: UITableViewCell {
    @IBOutlet weak var nameLbl: UILabel!
    @IBOutlet weak var count: UILabel!

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    var zx:ZXModel!{
        didSet{
            nameLbl.text = zx.classification
            count.text = zx.total
        }
    }
    

}
